Release 10.1A: OpenEdge Deployment:
Managing 4GL Applications
Configuring a printer
Many printers have a set of control sequences that you can use to specify different print characteristics, such as compressed printing or italics typeface. These control sequences often involve special characters that can be represented by their octal (base 8) equivalent. To denote these octal codes, precede the three octal digits with an escape character. On UNIX, the escape character is a tilde (~) or a backslash (\). Table 7–1 lists the standard control sequences using a tilde as the escape character.
The
PUTstatement with theCONTROLoption allows you to specify a control sequence that you want to send to a printer. ThePUTstatement has the following syntax:
In the following example, the control sequence ~017 turns on the compressed printing feature of the current print device:
The control sequences sent to the output destination do not affect the current line, page counters, and positions maintained within OpenEdge. For more information about the
PUT CONTROLstatement, see OpenEdge Development: Progress 4GL Reference .
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |